<?php
namespace app\admin\controller;

use think\Controller;

class GoodsAttr extends Controller
{

    public function ajaxdelga()
    {

        $del = db('goods_attr')->where('id', '=', input('gaid'))->delete();
        if ($del) {
            echo 1;
        } else {
            echo 0;
        }

    }

}
